Optimal. Leaf size=44 \[ -450 \sqrt {x}+72 x^{3/2}-\frac {54 x^{5/2}}{5}-\frac {125 \sqrt {x}}{1+x}+575 \tan ^{-1}\left (\sqrt {x}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.01, antiderivative size = 58, normalized size of antiderivative = 1.32, number of steps
used = 5, number of rules used = 5, integrand size = 18, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.278, Rules used = {99, 158, 152,
65, 209} \begin {gather*} 575 \text {ArcTan}\left (\sqrt {x}\right )-\frac {\sqrt {x} (2-3 x)^3}{x+1}-\frac {21}{5} \sqrt {x} (2-3 x)^2-\frac {3}{5} (917-171 x) \sqrt {x} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 65
Rule 99
Rule 152
Rule 158
Rule 209
Rubi steps
\begin {align*} \int \frac {(2-3 x)^3 \sqrt {x}}{(1+x)^2} \, dx &=-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+\int \frac {\left (1-\frac {21 x}{2}\right ) (2-3 x)^2}{\sqrt {x} (1+x)} \, dx\\ &=-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+\frac {2}{5} \int \frac {\left (\frac {31}{2}-\frac {513 x}{4}\right ) (2-3 x)}{\sqrt {x} (1+x)} \, dx\\ &=-\frac {3}{5} (917-171 x) \sqrt {x}-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+\frac {575}{2} \int \frac {1}{\sqrt {x} (1+x)} \, dx\\ &=-\frac {3}{5} (917-171 x) \sqrt {x}-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+575 \text {Subst}\left (\int \frac {1}{1+x^2} \, dx,x,\sqrt {x}\right )\\ &=-\frac {3}{5} (917-171 x) \sqrt {x}-\frac {21}{5} (2-3 x)^2 \sqrt {x}-\frac {(2-3 x)^3 \sqrt {x}}{1+x}+575 \tan ^{-1}\left (\sqrt {x}\right )\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.04, size = 38, normalized size = 0.86 \begin {gather*} -\frac {\sqrt {x} \left (2875+1890 x-306 x^2+54 x^3\right )}{5 (1+x)}+575 \tan ^{-1}\left (\sqrt {x}\right ) \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.17, size = 33, normalized size = 0.75
method | result | size |
derivativedivides | \(72 x^{\frac {3}{2}}-\frac {54 x^{\frac {5}{2}}}{5}+575 \arctan \left (\sqrt {x}\right )-450 \sqrt {x}-\frac {125 \sqrt {x}}{1+x}\) | \(33\) |
default | \(72 x^{\frac {3}{2}}-\frac {54 x^{\frac {5}{2}}}{5}+575 \arctan \left (\sqrt {x}\right )-450 \sqrt {x}-\frac {125 \sqrt {x}}{1+x}\) | \(33\) |
risch | \(-\frac {\left (54 x^{3}-306 x^{2}+1890 x +2875\right ) \sqrt {x}}{5 \left (1+x \right )}+575 \arctan \left (\sqrt {x}\right )\) | \(33\) |
trager | \(-\frac {\left (54 x^{3}-306 x^{2}+1890 x +2875\right ) \sqrt {x}}{5 \left (1+x \right )}-\frac {575 \RootOf \left (\textit {\_Z}^{2}+1\right ) \ln \left (-\frac {2 \RootOf \left (\textit {\_Z}^{2}+1\right ) \sqrt {x}-x +1}{1+x}\right )}{2}\) | \(59\) |
meijerg | \(-\frac {8 \sqrt {x}}{1+x}+575 \arctan \left (\sqrt {x}\right )-\frac {36 \sqrt {x}\, \left (10 x +15\right )}{5 \left (1+x \right )}-\frac {18 \sqrt {x}\, \left (-14 x^{2}+70 x +105\right )}{7 \left (1+x \right )}-\frac {3 \sqrt {x}\, \left (18 x^{3}-42 x^{2}+210 x +315\right )}{5 \left (1+x \right )}\) | \(78\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.51, size = 32, normalized size = 0.73 \begin {gather*} -\frac {54}{5} \, x^{\frac {5}{2}} + 72 \, x^{\frac {3}{2}} - 450 \, \sqrt {x} - \frac {125 \, \sqrt {x}}{x + 1} + 575 \, \arctan \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.46, size = 37, normalized size = 0.84 \begin {gather*} \frac {2875 \, {\left (x + 1\right )} \arctan \left (\sqrt {x}\right ) - {\left (54 \, x^{3} - 306 \, x^{2} + 1890 \, x + 2875\right )} \sqrt {x}}{5 \, {\left (x + 1\right )}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A]
time = 0.30, size = 75, normalized size = 1.70 \begin {gather*} - \frac {54 x^{\frac {7}{2}}}{5 x + 5} + \frac {306 x^{\frac {5}{2}}}{5 x + 5} - \frac {1890 x^{\frac {3}{2}}}{5 x + 5} - \frac {2875 \sqrt {x}}{5 x + 5} + \frac {2875 x \operatorname {atan}{\left (\sqrt {x} \right )}}{5 x + 5} + \frac {2875 \operatorname {atan}{\left (\sqrt {x} \right )}}{5 x + 5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.41, size = 32, normalized size = 0.73 \begin {gather*} -\frac {54}{5} \, x^{\frac {5}{2}} + 72 \, x^{\frac {3}{2}} - 450 \, \sqrt {x} - \frac {125 \, \sqrt {x}}{x + 1} + 575 \, \arctan \left (\sqrt {x}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.36, size = 32, normalized size = 0.73 \begin {gather*} 575\,\mathrm {atan}\left (\sqrt {x}\right )-\frac {125\,\sqrt {x}}{x+1}-450\,\sqrt {x}+72\,x^{3/2}-\frac {54\,x^{5/2}}{5} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________